home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / extdlgs.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  2.3 KB  |  76 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'ExtDlgs.pas' rev: 3.00
  6.  
  7. #ifndef ExtDlgsHPP
  8. #define ExtDlgsHPP
  9. #include <Dialogs.hpp>
  10. #include <Buttons.hpp>
  11. #include <ExtCtrls.hpp>
  12. #include <Graphics.hpp>
  13. #include <StdCtrls.hpp>
  14. #include <Controls.hpp>
  15. #include <Classes.hpp>
  16. #include <SysUtils.hpp>
  17. #include <Windows.hpp>
  18. #include <Messages.hpp>
  19. #include <SysInit.hpp>
  20. #include <System.hpp>
  21.  
  22. //-- user supplied -----------------------------------------------------------
  23.  
  24. namespace Extdlgs
  25. {
  26. //-- type declarations -------------------------------------------------------
  27. class DELPHICLASS TOpenPictureDialog;
  28. class PASCALIMPLEMENTATION TOpenPictureDialog : public Dialogs::TOpenDialog 
  29. {
  30.     typedef Dialogs::TOpenDialog inherited;
  31.     
  32. private:
  33.     Graphics::TPicture* FPicture;
  34.     Extctrls::TPanel* FPicturePanel;
  35.     Stdctrls::TLabel* FPictureLabel;
  36.     Buttons::TSpeedButton* FPreviewButton;
  37.     Extctrls::TPanel* FPaintPanel;
  38.     Extctrls::TPaintBox* FPaintBox;
  39.     void __fastcall PaintBoxPaint(System::TObject* Sender);
  40.     void __fastcall PreviewClick(System::TObject* Sender);
  41.     void __fastcall PreviewKeyPress(System::TObject* Sender, char &Key);
  42.     
  43. protected:
  44.     DYNAMIC void __fastcall DoClose(void);
  45.     DYNAMIC void __fastcall DoSelectionChange(void);
  46.     DYNAMIC void __fastcall DoShow(void);
  47.     
  48. public:
  49.     __fastcall virtual TOpenPictureDialog(Classes::TComponent* AOwner);
  50.     __fastcall virtual ~TOpenPictureDialog(void);
  51.     virtual bool __fastcall Execute(void);
  52. };
  53.  
  54. class DELPHICLASS TSavePictureDialog;
  55. class PASCALIMPLEMENTATION TSavePictureDialog : public Extdlgs::TOpenPictureDialog 
  56. {
  57.     typedef Extdlgs::TOpenPictureDialog inherited;
  58.     
  59. __published:
  60.     virtual bool __fastcall Execute(void);
  61. public:
  62.     /* TOpenPictureDialog.Create */ __fastcall virtual TSavePictureDialog(Classes::TComponent* AOwner) : 
  63.         Extdlgs::TOpenPictureDialog(AOwner) { }
  64.     /* TOpenPictureDialog.Destroy */ __fastcall virtual ~TSavePictureDialog(void) { }
  65.     
  66. };
  67.  
  68. //-- var, const, procedure ---------------------------------------------------
  69.  
  70. }    /* namespace Extdlgs */
  71. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  72. using namespace Extdlgs;
  73. #endif
  74. //-- end unit ----------------------------------------------------------------
  75. #endif    // ExtDlgs
  76.